package bb.lanxing.lib.devices.sgsettingentity.gearprofile;

import java.io.Serializable;

import kotlin.jvm.internal.Intrinsics;

public final class User implements Serializable {
    private String platform;
    private Integer uid;
    private String user_name;

    public static /* synthetic */ User copy$default(User user, String str, Integer num, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = user.platform;
        }
        if ((i & 2) != 0) {
            num = user.uid;
        }
        if ((i & 4) != 0) {
            str2 = user.user_name;
        }
        return user.copy(str, num, str2);
    }

    public final String component1() {
        return this.platform;
    }

    public final Integer component2() {
        return this.uid;
    }

    public final String component3() {
        return this.user_name;
    }

    public final User copy(String str, Integer num, String str2) {
        return new User(str, num, str2);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof User)) {
            return false;
        }
        User user = (User) obj;
        return Intrinsics.areEqual(this.platform, user.platform) && Intrinsics.areEqual(this.uid, user.uid) && Intrinsics.areEqual(this.user_name, user.user_name);
    }

    public int hashCode() {
        String str = this.platform;
        int i = 0;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        Integer num = this.uid;
        int hashCode2 = (hashCode + (num == null ? 0 : num.hashCode())) * 31;
        String str2 = this.user_name;
        if (str2 != null) {
            i = str2.hashCode();
        }
        return hashCode2 + i;
    }

    public String toString() {
        return "User(platform=" + this.platform + ", uid=" + this.uid + ", user_name=" + this.user_name + ')';
    }

    public User(String str, Integer num, String str2) {
        this.platform = str;
        this.uid = num;
        this.user_name = str2;
    }

    public final String getPlatform() {
        return this.platform;
    }

    public final void setPlatform(String str) {
        this.platform = str;
    }

    public final Integer getUid() {
        return this.uid;
    }

    public final void setUid(Integer num) {
        this.uid = num;
    }

    public final String getUser_name() {
        return this.user_name;
    }

    public final void setUser_name(String str) {
        this.user_name = str;
    }
}
